package com.tanhua.dubbo.api;

import com.tanhua.domain.db.UserStatus;
import com.tanhua.dubbo.mapper.UserStatusMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class UserStatusApiImpl implements UserStatusApi{
    @Autowired
    private UserStatusMapper userStatusMapper;
    @Override
    public UserStatus findByUserId(Integer userId) {
        return userStatusMapper.findUserStatusByUserId(userId);
    }
}